package com.qf.fileupload;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@ServletComponentScan   // 扫描加了 @WebServlet和 @Filter
public class FileuploadApplication {

    public static void main(String[] args) {
        SpringApplication.run(FileuploadApplication.class, args);

        // 获取springboot应用程序的当前工作目录
        final String dir = System.getProperty("user.dir");

        System.out.println(dir);
    }

}
